package org.jeecg.talentCooperation.talent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@TableName("nd_field_talent_rel")
public class TalentFieldRel implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 专家id
     */
    private String talentId;

    /**
     * 专家姓名
     */
    private String talentRealName;

    /**
     * 手机号码 全的
     */
    private String talentAllPhoneNumber;

    /**
     * 手机号码 部分隐藏
     */
    private String talentPartPhoneNumber;

    /**
     * 邮箱
     */
    private String talentEmail;

    /**
     * 合作次数
     */
    private String talentCooperationNum;

    /**
     * 工作单位
     */
    private String talentCompany;

    /**
     * 专家类型
     */
    private String talentType;

    /**
     * 专家头像
     */
    private String talentPhoto;

    /**
     * gw 研究领域
     */
    private String gwFieldNames;

    /**
     * 成果对应的国网领域关键词
     */
    private String gwFieldKeywords;

    /**
     * 成果关键词
     */
    private String fruitKeywords;

    public TalentFieldRel(String talentId, String talentRealName, String talentAllPhoneNumber, String talentPartPhoneNumber,
                          String talentEmail, String talentCooperationNum, String talentCompany, String talentType, String talentPhoto,
                          String gwFieldNames, String gwFieldKeywords, String fruitKeywords) {
        this.talentId = talentId;
        this.talentRealName = talentRealName;
        this.talentAllPhoneNumber = talentAllPhoneNumber;
        this.talentPartPhoneNumber = talentPartPhoneNumber;
        this.talentEmail = talentEmail;
        this.talentCooperationNum = talentCooperationNum;
        this.talentCompany = talentCompany;
        this.talentType = talentType;
        this.talentPhoto = talentPhoto;
        this.gwFieldNames = gwFieldNames;
        this.gwFieldKeywords = gwFieldKeywords;
        this.fruitKeywords = fruitKeywords;
    }

    @TableField(exist = false)
    private String titleLevel;

    @TableField(exist = false)
    private String gender;

    @TableField(exist = false)
    private String idNum;

    @TableField(exist = false)
    private String researchDomain;

    @TableField(exist = false)
    private String theTitle;

    @TableField(exist = false)
    private String mail;

    @TableField(exist = false)
    private String nationality;

    @TableField(exist = false)
    private String politicsStatus;
}
